<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  </head>
 <body>
<?php

//注销登录
session_start();
unset($_SESSION['userid']);
echo '<script>window.location="index.php";</script>';

?>
</body>
</html>